<!--
 * @Author: 卡卡 1071780426@qq.com
 * @Date: 2023-09-14 12:31:39
 * @LastEditors: 卡卡 1071780426@qq.com
 * @LastEditTime: 2023-10-13 16:13:25
 * @FilePath: \mould\src\components\BehaViorManage\workYear\index.vue
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
<template>
  <div class="Control-1 mechanism_dialogS closure" id="comcn">
    <el-dialog
      :title="title"
      v-dialogDrag
      :visible.sync="visible"
      @close="closeDialog"
      :append-to-body="true"
      top="5%"
    >
      <div
        class="dialogBody common commonClassDialog"
        :style="{ height: dialogHeight }"
        style="width: 100%"
      >
        <publicForm
          v-if="btnStatus[0]"
          :timestamp="formData.fJlfile"
          style="height: 280px"
          ref="publicForm"
          lableWidth="155px"
          :formObj="formObj"
          :formData="formData"
          :fileList="fWorkfilelist"
          @delteFile="delteFile($event, 0)"
          @selectChange="selectChange"
        >
        </publicForm>
        <div class="baseTitle" v-if="btnStatus[1]">业主审核及评分</div>
        <publicForm1
          v-if="btnStatus[1]"
          style="height: 180px"
          ref="planReview"
          lableWidth="155px"
          :formObj="planReview"
          :formData="planReviewData"
          :timestamp="planReviewData.fProprietorfile"
          @delteFile="delteFile($event, 0)"
          :fileList="planReviewlist"
        >
        </publicForm1>
        <div class="baseTitle" v-if="btnStatus[2]">集团审批</div>
        <publicForm1
          v-if="btnStatus[2]"
          @selectChange="selectChange"
          :timestamp="formFinishData.fGroupfile"
          ref="formFinishForm"
          style="height: 200px"
          lableWidth="155px"
          :formObj="formFinishObj"
          :formData="formFinishData"
          @delteFile="delteFile($event, 1)"
          :fileList="FinishfileList"
        >
        </publicForm1>
      </div>
      <div class="newlyAdded_btn" v-if="btnShow">
        <el-button
          type="primary"
          
          :disable="isLock"
          @click="yj_saveForm('formData')"
          >保存</el-button
        >
        <el-button type="warning" @click="visible = false">关闭</el-button>
      </div>
    </el-dialog>
  </div>
</template>

<script src="./index.js"></script>
<style lang="less" scoped>
@import "./index.less";
</style>
